using Simple.Contracts.Models;
using Simple.Contracts.Models.Common;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Simple.Contracts.Contracts
{
    /// <summary>
    /// 照护任务分类服务接口
    /// </summary>
    public interface ICareMissionCategorizeService
    {
        /// <summary>
        /// 获取照护任务分类列表
        /// </summary>
        /// <param name="input">照护任务分类列表输入参数</param>
        /// <returns>照护任务分类列表</returns>
        Task<Result<List<CareMissionCategorizeDto>>> List(CareMissionCategorizeListInput input);

        /// <summary>
        /// 保存照护任务分类信息
        /// </summary>
        /// <param name="input">照护任务分类保存输入参数</param>
        /// <returns>保存结果</returns>
        Task<Result<long>> Save(CareMissionCategorizeSaveInput input);

        /// <summary>
        /// 删除照护任务分类
        /// </summary>
        /// <param name="careMissionCategorizeId"></param>
        /// <returns></returns>
        Task<Result<bool>> Delete(long careMissionCategorizeId);

        /// <summary>
        /// 更新照护任务分类排序值
        /// </summary>
        /// <param name="input">排序更新输入</param>
        /// <returns>更新结果</returns>
        Task<Result<bool>> UpdateSort(CareMissionCategorizeSortInput input);
    }
}